package com.shareach.service;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;

import com.shareach.common.BaseQueryOrder;
import com.shareach.common.BizCondition;
import com.shareach.domain.BizActivityShopDomain;

/**
 * create time：2013-2-1 下午1:10:45
 * 
 * @author retryu
 * @since JDK 1.6
 * @version 1.0 description：
 */
public interface BizActivityShopService {

	// add
	Long save(BizActivityShopDomain domain);

	Map<String,Object> saveOrUpdate(BizActivityShopDomain domain);

	// del

	void del(BizActivityShopDomain domain);

	void update(BizActivityShopDomain domain);

	// update
	void update(BizActivityShopDomain domain, BizCondition contition);

	// update by domain
	void update(BizActivityShopDomain domain, BizActivityShopDomain contition);

	// get by id
	BizActivityShopDomain getById(Long id);

	// get list
	List<BizActivityShopDomain> getList(BizActivityShopDomain domain);

	List<BizActivityShopDomain> getList(BizCondition condition);

	Page<BizActivityShopDomain> getPageResult(BizActivityShopDomain domain, BaseQueryOrder order);

	void mactedShop(Long shopId, BizActivityShopDomain shop);

	List<BizActivityShopDomain> getListByIds(List<Long> ids, BaseQueryOrder order);

}
